Fix bug in 'todo-jump-to-category' (bug#78608)
authorStephen Berman <stephen.berman@gmx.net>
Wed, 28 May 2025 15:17:23 +0000 (17:17 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Wed, 28 May 2025 15:17:23 +0000 (17:17 +0200)
commit4507b6a9c7587c2b3caa241982db13e999197b1c
tree734bf06af7deb76790d6a5643bb7790d54cccf00
parent3e57c35323abe0782ba6a70adeecf99c27497e48
Fix bug in 'todo-jump-to-category' (bug#78608)

* lisp/calendar/todo-mode.el (todo-jump-to-category): Eliminate
comparison of the number of Todo categories before and after
specifying the category to jump to and replace it by a check of
whether there are any items in the category, since an existing
category should always have at least one item (perhaps done or
archived).
lisp/calendar/todo-mode.el